.allgoods{
    .head{
        width: 100%;
        height: 150px;
        // background-color: aqua;
        .hdtop{
            height: 50px;
            display: flex;
            justify-content: space-between;
            // background-color: chartreuse;
            .topz{
                width: 100px;
                height: 50px;
                font-weight: bold;
                font-size: 20px;
                text-align: center;
                line-height: 50px;
                margin-left: 36%;
                // background-color: deeppink;
            }
            .topr{
                width: 100px;
                height: 50px;
                display: flex;
                justify-content: center;
                align-items: center;
                // background-color: orange;
                .tb{
                    width: 80%;
                    height: 65%;
                    display: flex;
                    justify-content: space-around;
                    align-items: center;
                    border-radius: 20px;
                    border: 1px solid gainsboro;
                    // background-color: chartreuse;
                    .iconfont{
                        font-size: 30px;
                        font-weight: bold;
                    }
                }
            }
        }
        .hdbtm{
            height: 50px;
            text-align: center;
            line-height: 50px;
            // background-color: coral;
            input{
                width: 90%;
                height: 35px;
                border: none;
                background-color: gainsboro;
                border-radius: 10px;
                padding-left: 25px;
            }
            .iconfont{
                position: absolute;
                margin-left: 5px;
            }
        }
        .btn{
            height: 50px;
            display: flex;
            justify-content: space-around;
            align-items: center;
            // background-color:greenyellow;
            p{
                font-size: 18px;
                color: gray;
            }
            .active{
                color: red;
                font-weight: bold;
            }
        }
    }
    .mainlist{
        min-height: 500px;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
        align-items: center;
        // background-color: aqua;
        .mainBox{
            width: 45%;
            height: 240px;
            margin: 5px 0;
            display: flex;
            flex-direction: column;
            justify-content: space-around;
            align-items: center;
            // background-color: chartreuse;
            .mainTu {
                width: 85%;
                height: 150px;
                // background-color: crimson;
                img{
                    width: 100%;
                    height: 150px;
                }
            }
            .txt{
                width: 90%;
                height: 35px;
                display: -webkit-box;
                -webkit-box-orient: vertical;
                -webkit-line-clamp: 2; 
                overflow: hidden;
                // background-color: deeppink;
            }
            .price{
                width: 90%;
                height: 30px;
                display: flex;
                justify-content: flex-start;
                align-items: center;
                // background-color: honeydew;
                .bx{
                    width: 150px;
                    height: 25px;
                    color: red;
                    // background-color:pink;
                    .s2{
                        font-size: 20px;
                    }
                }
            }
        }
    }
}